package router

import (
	"api-gateway/basic/config"
	"api-gateway/handler/api"
	"api-gateway/midderware"
	"github.com/gin-gonic/gin"
)

func DataReporting(v1 *gin.RouterGroup) {
	dataReporting := v1.Group("/dataReporting") //健康数据
	{
		dataReporting.Use(midderware.JWTAuth(config.KEY_JWT)) //中间件
		dataReporting.GET("/oneDayData", api.ListOneDayData)  // 查看某天数据
	}
}
